/**
 *    Copyright 2014 all reserved by Ihome corporate, any persons
 *    or corporates must not use this code for business purpose before
 *    permission is gained.
 *  
 *    ******                              ******
 *    ******   Love Home   ******
 *    ******                              ******
 *    
 *    Author: DMF
 *    Create Date: Feb 13, 2014
 *
 */
package com.java2.util;

public class UUID {
	   
	     public static int counter(int num){
	    	 if(num == 1){
	    		 return num;
	    	 }else{
	    		 return num * counter(num-1);
	    	 }
	     }
	     
          public static void main(String[] args){
        	 System.out.println(counter(3));
          }
}
